<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://www.ecside.org" prefix="ec"%>
<%@ page import="java.util.HashMap"%>
<%@ page import="java.util.List"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>流程仿真</title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<%@include file="/jsp/inc/message.inc.jsp"%>
<style type="text/css">
.search_icon_detail{
	font-family:"Courier New", Courier, monospace;
	color:red;
}
.search_icon_detail ol li {
  list-style: none;
  white-space: nowrap;
  margin: 0px;
  padding: 0px;
  _height: 132px;
  padding: 5px;
  margin: -1px 15px 0px 15px!important;
  _margin: -1px 0px -6px -1px!important;
  float: left;
  vertical-align: bottom!important;  
  text-align: center;
}
.search_icon_detail ol li span{
	margin: 6%;
    font-size: 20px;
    font-style: normal;
    color: #000000;
}
</style>
<script language="javascript">
var informationBox;
function openInformationBox(){
	postRequest('form1',{actionType:'retrieveIds',onComplete:function(responseText){
		var json = $.parseJSON(responseText);	
		var CreateUrl = json.CreateUrl;
	if (!informationBox){
			informationBox = new PopupBox('informationBox','业务表单',{size:'big',width:'900px',height:'600px',top:'3px',scroll:'yes'});
		}
		var url = CreateUrl;
		informationBox.sendRequest(url);			
	}});
}
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<div style="width:100%;">
<div class="search_icon_detail" id="container">
    <ol>
		<%
		List<HashMap> records = (List<HashMap>)request.getAttribute("rsList");
		for (int i=0;i < records.size(); i++){ 
			HashMap dataRow =  (HashMap)records.get(i);
		%>
		<li>
        	<div class="icon_img">
        		<a href="javascript:void(0)" onclick="selectRow(this,{WFP_ID:'<%=dataRow.get("WFP_ID")%>'});openInformationBox();return false" title="<%=dataRow.get("WFP_NAME")%>">
        			<img src="<%=dataRow.get("WFP_LOGO_URL")%>" width="128" height="128">
        		</a>
        	</div>
        	<span><%=dataRow.get("WFP_NAME")%></span>
        </li>
        <%}%>
    </ol>
</div>
</div>
<input type="hidden" name="WFP_ID" id="WFP_ID" value="" />
<input type="hidden" name="actionType" id="actionType" />
</form>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
